package com.gzhu.knowledgeAdmin.service;

import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.net.MalformedURLException;

/**
 * @author laoba
 * @create 2023-04-28 18:18
 */
public interface OssService {
    String upload(MultipartFile file) throws IOException;

    void deleleFile(String url) throws MalformedURLException;
}
